package rhc.taskSchedule.taskSchedule.task.execute;

import org.springframework.stereotype.Service;

import rhc.discribute.node.host.Host;

/**任务执行实现类
 * @author lenovo
 *
 */
@Service
public class TaskExecuteImpl extends BasicTaskExecuteImpl {

	public TaskExecuteImpl(String runningId,Host host) throws Exception {
		super(runningId,host);
	}

	@Override
	public void run() throws Exception {
		super.beginRun();
		
	}

	@Override
	public void stop() throws Exception {
		super.stopRun();
		
	}

	@Override
	public void pause() throws Exception {
		super.pauseRun();
		
	}
	
	@Override
	public void regain() throws Exception {
		super.regainRun();
		
	}
	
	@Override
	public void error() throws Exception {
		super.errorRun(null);
	}

}
